package quick.start.core.view.gesture;

import android.app.Activity;

public class DefaultAcitivityFlingListener implements OnFlingListener {

	private Activity mActivity;
	
	public DefaultAcitivityFlingListener(Activity activity){
		mActivity = activity;
	}
	
	@Override
	public boolean onFlingLeft() {
		return false;
	}

	@Override
	public boolean onFlingRight() {
		mActivity.onBackPressed();
		return true;
	}

}
